import React, { useState } from 'react';
import "./login.scss";
import axios from 'axios';
import Logins from '../../components/login/logins'
// 定义Login组件
function Index() {
    const [logindata, setlogindata] = useState([]);
    return (
        <div className='login_box'>
            <div className='bgimg'>
                <div className='left'>
                    <img src="../../../public/login_left.png" alt="" />
                </div>
                <div className='right'>
                    <div className='logo'>
                        <img src="../../../public/logo.png" />
                        <span>Hooks-Admin</span>
                    </div>
                    <Logins />
                </div>
            </div>
        </div>
    );

};
export default Index;